#include <iostream>
using namespace std;
struct student
{
	int idnum;
	char name[15];
	int age;
	char department[20];
	float gpa;
};

struct person
{ 
    string name; 
    int count;
};

int main()
{
   student stu[3] = {{4001, "tom", 20, "xinxi", 88.8},
                      {4002, "jhon", 20, "yishu", 90.6},
                      {4003, "marry", 20, "tiyu", 86.9}};
   person stu1[3] = {"wang",0,"zhang",0,"li",0};
					                     
   for (int i=0; i<3; i++)
   {
   	   cout << stu[i].idnum << "  " << stu[i].name << "  " << stu[i].age << "  " << stu[i].department << "  " << stu[i].gpa << endl;
   }
   for (int j=0; j<3; j++)
   {
   	   cout << stu1[j].name<< "  " << stu1[j].count << endl;
   }
	return 0;
}
